package com.jumi.microservice.dto.order;

import com.jumi.microservice.common.base.dto.BaseRequest;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author Dirk
 * @Date 2020-07-07 15:47
 */
public class CreateOrderRequest extends BaseRequest {

    private static final long serialVersionUID = 7462975708589265044L;

    @ApiModelProperty(value = "用户ID", hidden = true)
    private Long uid;

    @ApiModelProperty("商品列表")
    private List<GoodsSkuRequest> goodsList;

    @ApiModelProperty(value = "收件人ID", example = "0")
    private Integer receiverId;

    @ApiModelProperty(value = "发票抬头ID", example = "0")
    private Integer invoiceId;

    @ApiModelProperty(value = "邀请人ID", example = "0")
    private Long inviteId;

    @ApiModelProperty("真实姓名（海外商品需传）")
    private String impRealName;

    @ApiModelProperty("身份证号（海外商品需传）")
    private String impCardNo;

    @ApiModelProperty("购物车标识(是否来源于购物车)")
    private Byte shoppingCartFlag;

    @ApiModelProperty(value = "用户ip", hidden = true)
    private String clientIp;

    @ApiModelProperty(value = "下单平台", example = "0")
    private byte platformType;

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public List<GoodsSkuRequest> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<GoodsSkuRequest> goodsList) {
        this.goodsList = goodsList;
    }

    public Integer getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(Integer receiverId) {
        this.receiverId = receiverId;
    }

    public Integer getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(Integer invoiceId) {
        this.invoiceId = invoiceId;
    }

    public Long getInviteId() {
        return inviteId;
    }

    public void setInviteId(Long inviteId) {
        this.inviteId = inviteId;
    }

    public String getImpRealName() {
        return impRealName;
    }

    public void setImpRealName(String impRealName) {
        this.impRealName = impRealName;
    }

    public String getImpCardNo() {
        return impCardNo;
    }

    public void setImpCardNo(String impCardNo) {
        this.impCardNo = impCardNo;
    }

    public Byte getShoppingCartFlag() {
        return shoppingCartFlag;
    }

    public void setShoppingCartFlag(Byte shoppingCartFlag) {
        this.shoppingCartFlag = shoppingCartFlag;
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }

    public byte getPlatformType() {
        return platformType;
    }

    public void setPlatformType(byte platformType) {
        this.platformType = platformType;
    }
}
